package com.sixth.bean.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.Value;

import java.util.Date;
import java.util.List;

/**
 * @author ljh
 * @version 1.0
 * @describition:
 * @since 2022/9/9 10:24
 **/
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class AdminDeleteBO {

    /**
     * id : 7
     * username : 8749
     * password : dsadasdwe
     * lastLoginIp :
     * lastLoginTime : null
     * avatar : '
     * addTime : 2022-09-09 10:19:53
     * updateTime : 2022-09-09 10:19:53
     * deleted : false
     * roleIds : [1]
     */

    private int id;
    private String username;
    private String password;
    private String lastLoginIp;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date lastLoginTime;
    private String avatar;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date addTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    private boolean deleted;

    private Integer[] roleIds;

}
